package com.suyuan.service;

import com.github.pagehelper.PageInfo;
import com.suyuan.entity.*;
import com.suyuan.vo.NewTransitBatchVO;
import com.suyuan.vo.TransitBatchInfoVO;
import com.suyuan.web.Page;

import java.util.List;

/**
 * Created by yang on 2018/1/30.
 */
public interface NewTransitBatchService {

    List<NewTransitBatchVO> list();

    int delete(Integer id);

    int insert(Newtransitbatch transitBatch);

    List<TransportRouteInfor> getRoutes();

    List<CarInfo> getCars();

    List<CompanyInfo> getCompanies();

    PageInfo inquiry(String batchId, String routeId, Page page);

    Newtransitbatch findById(Integer id);

    int update(Newtransitbatch batchInfo);

    List<Station> getStations(Integer routeId);

    Station getStationById(Integer startstationid);
}
